package city.spring.modules.cardinfo.repository;

import city.spring.modules.cardinfo.entity.CardEmployeeEntity;
import city.spring.modules.cardinfo.vo.CardEmployeeEntityVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 存储库：卡号信息
 *
 * @author pxm
 * @date 2020-12-25 09:18:46
 */
@Repository
public interface CardEmployeeRepository extends BaseMapper<CardEmployeeEntity> {
    IPage<CardEmployeeEntityVO> staffListPage(Page<? extends CardEmployeeEntity> page, @Param(Constants.WRAPPER) Wrapper<? extends CardEmployeeEntity> wrapper);
}